import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/sys/login',
    method: 'post',
    data
  })
}
// 个人信息
export function getInfo() {
  return request({
    url: '/sys/profile',
    method: 'post'

  })
}
// 员工个人信息
export function logoutdata(id) {
  return request({
    url: `/sys/user/${id}`,
    method: 'GET'
  })
}
